* {
  padding: 0;
  margin: 0;
}
li {
  list-style: none;
}
.todos {
  width: 600px;
  margin: 50px auto;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 20%), 0 25px 50px 0 rgb(0 0 0 / 10%);
}
header {
  display: flex;
  width: 100%;
  height: 60px;
  align-items: center;
  margin-bottom: 10px;
  
}
header > label {
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;

}
header > label > input {
  width: 20px;
  height: 20px;
  box-shadow: inset 0 -2px 1px rgb(0 0 0 / 3%)
}
header > input {
  box-sizing: border-box;
  outline: none;
  padding: 0 20px;
  border: 0;
  flex: 1;
  height: 100%;
  font-size: 24px;
  font-family: inherit;
  font-weight: inherit;
}

section {
  width: 100%;
  border-top: 1px solid #e6e6e6
}
section > ul {
  width: 100%;
  display: flex;
  flex-direction: column;
}
section > ul > li {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 5px 0;
  box-shadow: inset 0 -2px 3px 0 rgb(0 0 0 / 20%);
}


section > ul > li > label {
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
section > ul > li > label > input {
  width: 20px;
  height: 20px;
}

section > ul > li > button {
  width: 60px;
  height: 35px;
  border: 0;
  outline: none;
  background-color: #009688;
  color: #fff;
  cursor: pointer;
  margin-right: 15px;
  display: none;
  transition: all .3s;
  -webkit-transition: all .3s;

}
section > ul > li > button:hover {
  opacity: .8;
  color: #fff;
}
section > ul > li:hover > button {
  display: block;

}
section > ul > li > div {
  position: relative;
  flex:1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 10px;
  height: 100%;
  padding-left: 20px;
  
  
}
section > ul > li > div > h1 {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  height: 100%;
  line-height: 50px;
 
  
}
section > ul > li > input {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  outline: none;
  padding: 0 15px;
  flex: 1;
  border: 1px solid #999;
  box-shadow: inset 0 -1px 5px 0 rgb(0 0 0 / 20%);
  font-size: 20px;
}

footer {
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e6e6e6;
  margin-top: 8px;
  box-shadow: 0 1px 1px rgb(0 0 0 / 20%), 0 8px 0 -3px #f6f6f6, 0 9px 1px -3px rgb(0 0 0 / 20%), 0 16px 0 -6px #f6f6f6, 0 17px 2px -6px rgb(0 0 0 / 20%);
}


footer > div.left {
  width: 130px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
footer > div.status {
  flex: 1;
  display: flex;
  height: 100%;
  justify-content: flex-start;
  align-items: center;
}

footer > div.status > span {
  margin: 10px;
  padding: 5px 10px;
  background-color: #1E9FFF;
  cursor: pointer;
  color: #fff;
  transition: all .3s;
  -webkit-transition: all .3s;
  border-radius: 5px;
}
footer > div.status > span:hover {
  opacity: .8;
  color: #fff;
}

footer > div.removeComplete {
  width: 150px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FF5722;
  color: #fff;
  margin-right: 15px;
  cursor: pointer;
  transition: all .3s;
  -webkit-transition: all .3s;
  border-radius: 5px;
}
footer > div.removeComplete:hover {
  opacity: .8;
  color: #fff;
}